//
//  KABMallHpHeaderHFView.m
//  kabu
//
//  Created by XiangDongMBP on 2017/4/22.
//  Copyright © 2017年 East. All rights reserved.
//

#import "KABMallHpHeaderHFView.h"
#import "KABModel.h"
#import <YYWebImage.h>

@implementation KABMallHpHeaderHFView

- (void)awakeFromNib {
    [super awakeFromNib];
    
    self.contentView.backgroundColor = [UIColor whiteColor];
}

- (void)configViewWithHpItem:(KABMallHpItem *)item {
    [self.leftImgView yy_setImageWithURL:[NSURL URLWithString:item.icon_url] placeholder:nil];
    self.titleLabel.text = item.content;
}

@end
